type IPerson = {
  name?: string;
  readonly age: number;
};

interface IKun {
  name?: string;
  readonly age: number;
}

const p: IPerson = {
  name: "zs",
  age: 12,
};

console.log(p.name, p.age);
// age：只读
// p.age = 21

export {};
